Method and device for processing of speech information

ABSTRACT

The invention concerns a method and an device for the execution of the method for processing of speech information such as the storage and/or reproduction and/or transmission which uses means for the input and/or storage and/or the acoustical reproduction and/or for the transmission of speech and data information to other devices for local storage and/or reproduction, as well as using means for searching for one or several speech segments in the stored speech information.  
     The task assignment of the invention, to develop a category-related method and a category-related device with which the disadvantages of the state of the art are avoided and with which a recording and search/reproduction of speech information is ensured without manual designation and classification and without the requirement of a vocabulary, is solved in such a way that spoken words and/or correlated sentences (memorandums) are digitally recorded as speech signals in a memory which, in a partial scope of at least one word, are again spoken for search purposes and are compared in a device with the recordings and subsequently evaluated, from which a score between the two speech patterns is determined and the memorandum with the smallest score is issued/reproduced acoustically.

METHOD AND DEVICE FOR THE PROCESSING OF SPEECH INFORMATION

[0001] The invention concerns a method and a device for the processing of speech information for the realisation of a memory based on language such as the storage and/or reproduction and/or transmission which have means for the input and/or storage and/or the acoustical reproduction and/or for the transmission of speech and data information to other devices for local storage and/or reproduction, as well as containing means for searching for one or several language segments in the stored speech information.

[0002] Methods and devices are known, with which it is possible to store speech information where the stored speech information is provided with digital identification signal words in order to facilitate the retrieval of certain speech information for reproduction or for transmission purposes.

[0003] In the patent specification DE 33 33 958 A1, a device is described for me storage of speech information which contains a controllable generator through which digital identification signal words are produced by means of a keyboard. These are recorded with or separately from the speech information and used for a later search for the retrieval of the information as required.

[0004] It is a disadvantage for the user because he has to classify the speech information in order to be able to start a search operation for certain speech information.

[0005] In the U.S. Pat. No. 5,602,963 a electronic personal organiser is described which is capable of recording and reproducing speech memorandums. The organiser also has a function which allows the user, following the recording of a speech memorandum, to be able to mark this by means of an input of one or several spoken words for retrieval at a later date.

[0006] This approach has the disadvantage in that for each memorandum, provided a classification is desired, the classification must be explicitly carried out by the user after the recording of the memorandum. The amount of words, which can be searched for, must be stipulated beforehand. These words must be pre-spoken beforehand in a training phase. The processing of the speech signals in the organiser Is effected by means of various processing functions, depending on whether the language is to be recorded or compared with a pre-specified vocabulary.

[0007] In the U.S. Pat. No. 4,829,576, and for the purpose of increasing the probability for the correct recognition of a word, it is proposed that only those words are to be adopted for comparison from the specified vocabulary which are contained in the text part to be searched. For this purpose, a SEARCH WORD LIST is formed in a separate step.

[0008] In the U.S. Pat. No. 6,041,300 a method and a device are described, according to which and for the purpose of improving the speech selection, the speech is to be imaged in a sequence of “uLefeme{grave over (n)}”, which is compared with the previously stored “Lefeme-sequences”. The recognised word, for conformation by the user, is synthesised from the stored sequence of “Lefeme{grave over (n)}” in the database and issued.

[0009] A disadvantage here, in particular, is the fact that the establishment of a database is necessary as a first step.

[0010] The task assignment of the invention is to develop a category-related method and a category related device with which the disadvantages of the state of the art are avoided and with which a memory assistance based on speech is made available, and with which a recording and search/reproduction of speech information is ensured without manual designation and classification and without the requirement of a vocabulary.

[0011] This task assignment is solved according to the invention by means of the features of the claims 1 and 22.

[0012] The method is characterised in that spoken words and/or correlated sentences are digitally recorded as speech signals of the memorandum in a memory, where an analysis of the speech signals and their direct illustration take place in the time and/or frequency range which, in a partial scope of at least one word for searching, are spoken again and are compared with the recordings and evaluated, from which a score between both speech patterns is determined and the memorandum with the smallest score is acoustically issued.

[0013] Compared with speech recognition systems, the user has a greater tolerance with regard to errors during classification. The speaker dependency is not a disadvantage during the search process, but is instead a pleasant side-effect with regard to confidentiality.

[0014] There is no explicit allocation of speech memorandums to certain words by the user. The vocabulary does not have to be explicitly established A training phase is not required.

[0015] The device for executing the method is characterised in that a telecommunication terminal equipment unit such as a mobile phone/telephone is used which is equipped with a memory card such as FlashROM and/or a data processing facility such as a PC, a server with a special additional software.

[0016] The basic functions of the method and the device according to this invention can be described by two operations: recording and search/reproduce.

[0017] During the recording process, memorandums in the form of single, spoken headwords such as terms, names, numbers or correlated sentences are recorded. Headwords whose retrieval is of particular interest to the user, can be spoken several times by him with any one memorandum. The recording can be done in the device (equipment unit), such as on a memory card installed in a mobile phone or also by means of a speech/data transmission on a remote equipment unit such as a server or a PC.

[0018] For the search operation, the user audibly speaks the search words such as names etc. In the device itself (mobile phone, for example) or in the other remote equipment unit (server or PC) the spoken speech patterns are compared with the stored speech information and evaluated with regard to their similarity and/or a score between both speech patterns is determined. The memorandums with the greatest degree of similarity (lowest score) are then acoustically reproduced. In the event of several findings, the reproduction can take place in the successive order of the recording (e.g., last recordings at first place) or according to similarity of searched speech pattern and stored speech information. Search commands can contain one or several headwords. Where several headwords are concerned, the search can be performed for memorandums containing one, several or all of the headwords.

[0019] In a preferred embodiment the memorandums are first reproduced which contain the highest number of searched headwords.

[0020] In a preferred embodiment of the invention, the speech signals are recorded in a compressed manner.

[0021] In practice, a series of methods for speech compression are known, such as the Recommendations G.723 or G.729 of the ITU (International Telecommunication Union) or the Recommendation GSM 06.10 of ETSI. These methods work on a multiple stage basis. After a pre-processing by means of a filter, there is then the subdivisioning in segments and a signal analysis, e.g., by means of LPC (Linear Predictive Coding). The segments determined in this case (speech/speech interval, voiced/voiceless) and the calculated parameters (e.g., energy content, the auto-correlation coefficients, the LPC coefficients, the LSP Line Spectral Pair coefficients and parameters of further processing stages) are also suitable for the comparison of speech patterns. The disassembly (breakdown) of the speech with these methods and the compressed storage reduce the required storage space compared with the non-compressed storage. At the same time, the pattern comparison later is accelerated.

[0022] A further embodiment of the invention also stores non-compressed signals in addition to the compressed speech Information.

[0023] The purpose of this approach is to be in a position to apply more improved algorithms at a later date in time. The recorded speech information can be required over a longer period of time (decades). Where a speech compression is concerned, detail information is inevitably lost. Performance capacity of the information processing equipment as well as the quality of the algorithms to the pattern comparison are most likely to be continually developed further. For this reason, the original signals should be retained for later use. The further continual capacity increase, as to be expected, (with a drop in price at the same time) of the storage media makes this option affordable for the user.

[0024] Likewise, it is also possible according to the invention, to state during input which part of the speech information is to be also stored non-compressed. The non-compressed signals can also be filed on another memory, an offline memory.

[0025] The method also allows the performance of a hidden search. If, during a search operation, a speech memorandum has been found where the comparison of the speech patterns of the search command and speech patterns of the memorandum exceed a pre-specified threshold, this is reproduced. During the reproduction process, the search is conducted further in the background. The time involved for searching is, by this means, partially hidden from the user.

[0026] In a further embodiment, the speech patterns of the headwords contained in the search commands, the indicators on the speech memorandums found, the calculated scores and the reaction of the user are also stored In this embodiment, it is assumed that the user performs an evaluation after reproduction of a memorandum: GOOD, WRONG. This reaction together with the indicators to a reproduced memorandum is also stored. With a new search command, the current speech patterns of the search command are compared with the speech patterns of former search operations. If the patterns coincide with one another or in the event of great similarity, the stored former reaction of the user is checked out and, provided it is positive, the memorandum to which the indicator of the recording of the former search command shows, is reproduced. The subsequent reaction of the user is again stored with the indicator to the reproduced memorandum. This approach has some advantages.

[0027] It shortens the searching operation;

[0028] The hit accuracy increases continually;

[0029] Gradual changes in the pronunciation or in the voice of the user are compensated,

[0030] The stored speech patterns and evaluations of decisions can be used for optimising the process;

[0031] The search-through of the original memorandums is furthermore possible.

[0032] Furthermore, it is also possible according to the invention, after the indirect search and by means of the indicator of a previous search command, to compare the speech patterns of the new search command with the speech patterns of the recorded memorandum and to use the result for determining the score.

[0033] Likewise, it is also possible according to the invention to have a more precise classification of the evaluations: e.g., COMPLETELY WRONG, VERY GOOD

[0034] A COMPLETELY-WRONG evaluation then definitely blocks a reproduction of the corresponding memorandum during a, later search operation. A WRONG-evaluation puts back the memorandum in the order of succession of the candidates, e.g., whereby its score is increased by multiplication with a factor greater than one. Correspondingly, for a VERY GOOD evaluation during a later search operation, the found memorandum, provided its score is below a pre-specified threshold, is given preference in the order of succession of the output.

[0035] In a further embodiment, an indicator to a recording of the former search command, additionally to the indicator on the memorandum, is also stored with the evaluation of the user for recording the current search command.

[0036] An additional refinement of the search function extends the search functionality: associations. The equipment unit searches for the headwords contained in the search command.

[0037] If it finds the searched headwords in a former search command or in a memorandum, and if the former search command or the speech memorandum contains further headwords, the equipment unit queries by means of reproduction of these headwords if the search operation is to be extended by these headwords.

[0038] In a further refinement, only such headwords are inquired for, which occur repeatedly in several search commands or memorandums as found.

[0039] In the preferential embodiment, those speech patterns are first reproduced which have the most frequent occurrence.

[0040] The user can then extend the list of the speech patterns to be searched by these patterns, ignore the patterns or exclude from reproduction those speech memorandums which contain these speech patterns. With this function, two things are possible: the quantity of the found speech memorandums can be successively restricted, and theme-related recordings can be found.

[0041] In order to accelerate the search in comprehensive recordings, the equipment unit can establish and file a list with headwords and indicators to speech memorandums in which these headwords occur. Several indicators can exist for each headword. With several indicators for each headword, the list for each indicator can contain the score between the headword (speech pattern) in the index list and the headword (speech pattern) in the referenced memorandum. For one indicator for each headword, the score is non-applicable because the speech pattern in the memorandum and in the index list are identical. A special function can be made available to the user, with which he can dictate keypoints to each memorandum. As an alternative, all words which are spoken individually (with a distinct pause at the beginning and end of the word) can be automatically taken up into the index list. Establishing this list requires calculation performance. For this reason, it is preferentially established when the equipment unit is connected up to an external power supply, such as for example, during the loading of the storage battery or in another equipment unit (server).

[0042] In addition, other data can be stored together with the speech information.

[0043] An example in this case are image data of a digital camera integrated in the equipment that are stored together with speech memorandums. In this embodiment, the search is performed, as already shown, by means of a comparison of the speech patterns contained in the search command and the stored speech signals. The found memorandums are reproduced with the other stored data. Text data or images are reproduced on a screen, for example. Melodies, music, links can be issued, for example, on websites and E-mails.

[0044] A further example is the recording of telephone calls or parts thereof, with or without additional commentaries and telephone numbers. A search can be carried out for headwords, together with telephone numbers and, by means of the associative function described above, for speech patterns of the discussion partner, e.g., after the speech pattern of his name wording sounded at the beginning of the conversation.

[0045] For all search operations, time-related limitations can also be used, of course, during the search (between date and time, daytime, weekday, year period etc.) for the limitation of the search area.

[0046] In an embodiment of this invention where the input and output equipment unit (mobile phone) is connected up to a remote memory and computational facility by means of a speech or data transmission device, the following additional functional sequences result: offline input, offline search, separate memories with different storage scope, necessity of encryption.

[0047] Offline input: for recording of new speech memorandums, it is not necessary to have a communication connection to the remote equipment unit. The information is, for example, compressed on a flash memory card or intermediately stored in a non-compressed state. Several memorandums can be collected and transmitted together. The transmission can be performed at times when less expensive connection tariffs are applicable or when the user is otherwise in the vicinity of a second equipment unit, e.g., recording onto a work PC while in the office.

[0048] Offline search: if the search operation is to be performed on a remote equipment unit, no constant connection between the two pieces of equipment is necessary. It is sufficient when the search command with the speech patterns, e.g., per IP-package, is transmitted to the remote equipment unit and the result is also is transmitted per IP-package or callback.

[0049] It is also possible according to the invention to store speech recordings on various equipment units at the same time. In a typical case, the user has with him an input and output equipment unit in the form of a mobile phone. There, and in a flash memory card according to the state of the art where memory technology and compression algorithms are concerned, speech recordings lasting up to a total time of some hours can be stored. This memory can, for example, contain the most recent recordings (offline input) and the current as well as frequently required memorandums. The recordings in the mobile phone are transmitted periodically (refer to “offline input”) to the remote equipment unit. The search operation can take place on the local equipment in the local recordings or on the remote equipment unit.

[0050] The remote equipment unit can be a large server made available by a provider, similar to that of speech box (voice mail) services. In this embodiment, an encrypted transmission and an encrypted storage on the server of the provider is particularly important. Methods for the encryption of speech and data are known. At no time should the data be on the server or on the transmission route in an non-encrypted form. The search is performed exclusively in the mobile phone based on the index lists or by means of a search of the headwords and indicators of previous stored search commands. The purpose of the server is entirely the storage of memorandums.

[0051] In a further embodiment, the index list or the recording of former search commands can partially be on the server. For this purpose, the index list is divisioned on the basis of hierarchy. The list of former search commands is subdivisioned from timing aspects. Lists with older search commands are on the server. When required, and for searching purposes, the lists are transmitted onto the mobile phone.

[0052] The invention will be better understood, as follows, by a more detailed description of a most preferred embodiment. The only FIGURE shows the schematic illustration of a possible communication configuration.

[0053] In the following description the commands of the user are released by pressing keys. These can also be soft keys. According to the invention, it is also possible to issue the commands by means of speech commands.

[0054] Recording: The user presses the RECORD key of a mobile phone 10 and speaks his memorandum into the mobile phone 10. Finally, he presses the STOP key. The input of the speech is performed by way of the microphone of the mobile phone 10. The analog speech signals are digitalised in an analog digital transformer and conducted into a DSP 11. At that location, the signals are led through a pre-filter (high-pass and low-pass), and finally subdivisioned into segments (in a typical manner, 10 to 20 ms segments). Depending on the applied compression standard, the segments overlap each other (e.g., by 10 ms). The signal values in the segments are assessed by a Hamming-Window function. After this, the auto-correlation of the signal values is calculated in the individual segments. From this, the LPC-coefficients are calculated. For purposes of compression and storage, these coefficients and the speech signals are further processed in accordance with the pre-specified details of the applied compression standard. For purposes of pattern comparison, the LPC-coefficients, or transformed illustrations (e.g., Cepstrum-coefficients, PARCOR-coefficients) are stored as an integral part of the compressed speech information in a memory card 12. In addition, a date and time mark is stored.

[0055] Instead of the use of the LPC-method, other methods for speech compression and pattern recognition can also be applied which, for example, are based on the short-time Fourier analysis or filter banks.

[0056] The recording can also be performed by means of a speech-/data transmission 13 on a remote equipment unit, here a computer 14 or a server 15.

[0057] Search operation: The user presses the SEARCH-key of the mobile phone 10 and; while keeping the key pressed down, he speaks the headwords he is searching for. The equipment unit 10 searches for corresponding memorandums and reproduces acoustically the first found speech information. For a further search and/or for the issue of the next found memorandums, the user can press the NEXT-key or a key for evaluation (GOOD, WRONG) and then, as required, the NEXT-key. The processing of the speech signals is performed analogously to the description given under “recording”. The speech patterns are also stored in the same way. Then, the LPC-parameters or transformed illustrations, e.g., Ceptrum-coefficients, are conducted to the pattern recognition. For pattern recognition, the parameters are compiled to vectors. The individual headwords are compiled to groups of vectors. Following this, they are compared with the stored speech information. The adaptation to the varying speech speed of the patterns is effected with the method known as “Dynamic Programming”. For each headword and in each memorandum, the score is determined with reference to the most similar stored pattern. Depending on the setting of the equipment unit, the first memorandum found which contains patterns and whose scores are below a pre-specified threshold value, is issued and the search is continued. In another setting, all recodings are first searched through, the memorandums are sorted out according to their scores and those with the smallest scores are issued first. With each pressing of the NEXT-key, the memorandum with the next lower evaluation is issued. Before the issue of a memorandum, the indicator to this memorandum is added to the recording of the search command. In the same way, evaluations which are put in by the user after listening to the memorandum, are added to the recording of the indicator.

[0058] Differences to Speech Recognition Systems

[0059] Speech recognition systems are designed for other task assignments. Their purpose is to convert a dictated entry into written form, error-free to the greatest possible extent. In speech recognition systems, spoken language is imaged onto a pre-specified and generally expandable amount of words or functions. The algorithms are established accordingly. Imaging is performed in several steps. In particular, the final steps differ from the approach according to this invention. The use statistic models (usually Hidden Markov Models) with details on the frequencies of transitions between speech segments (speech sounds or phonemes).

[0060] These are partially established by an annoying and tiresome training phase for the user before initial use. With the method according to the invention, no training phase is required before first use. Moreover, the vocabulary (headwords) are not stipulated a priori, but result instead dynamically and automatically during the recording and search operations. A further difference: in the speech recognition system there is only one “correct” image for each spoken word, meaning, the one which the user has iritended. In the equipment unit according to the invention, any given headword can have several correct “hits”. Reference Parts List 10 Mobile phone 11 Digital signal processor DSP 12 Memory card 13 Speech-/data transmission 14 Computer 15 Server 

1. Method for the processing of speech information for the realisation of a memory based on language such as the storage and/or reproduction and/or transmission which uses means for the input and/or storage and/or the acoustical reproduction and/or the transmission of speech and data information to other devices for local storage and/or reproduction, as well as using means for searching for one or several speech segments in the stored speech information, wherein spoken words and/or correlated sentences (memorandums) are digitally recorded as speech signals in a memory, where means are envisaged for the transformation of the speech signals into an illustration in the frequency range and/or into a compressed illustration in the time range, which, in a partial scope of at least one word, are again spoken for search purposes, and are compared in a device with the recordings and subsequently evaluated, from which a score between the two speech patterns is determined on the basis of their parameters in the time and/or frequency range, and the memorandum with the smallest score is issued/reproduced acoustically.
 2. Method according to claim 1, wherein the speech signals are recorded in a compressed manner.
 3. Method according to claims 1 and 2, wherein non-compressed signals are also stored in addition to compressed speech information.
 4. Method according to claim 1, wherein further speech signals such as speech patterns of the headwords contained in the search commands, such as indicators to the speech memorandums as found, such as calculated scores and such as the reaction of the user are stored.
 5. Method according to claim 1, wherein, those memorandums are issued first, which contain the highest number of searched headwords.
 6. Method according to claims 1 to 5, wherein the speech patterns, during the search operation, are compared with the same data records, which are also used for reproduction purposes.
 7. Method according to claims 1 to 6 wherein the reactions of the user as to the results of a search operation, such as GOOD, WRONG, FURTHER and/or COMPLETELY WRONG, VERY GOOD are recorded.
 8. Method according to claims 1 to 7, wherein during later search operations, the speech patterns of the former search commands are searched through, taking into consideration the recorded evaluations and indicators.
 9. Method according to claims 1 to 8, wherein during the reproduction of a found item, the search operation is continued.
 10. Method according to claims 1 to 9, wherein the search algorithms and parameters are optimised on the basis of the recorded patterns and evaluations.
 11. Method according to claims 1 to 10, wherein storage is performed in an encrypted manner and an access protection is installed.
 12. Method according to claims 1 to 11, wherein the speech entry is effected by way of microphone, telephone or offline via dictating machine, voice box.
 13. Method according to claims 1 to 11, wherein the reproduction is effected by way of headphone, telephone.
 14. Method according to claims 1 to 13, wherein a short-time storage is performed in a mobile phone, a long-time storage is performed on a server, where dubbing is performed periodically and/or with access to the long-time storage, or speech recordings are carried out on various equipment units at the same time.
 15. Method according to claims 1 to 14, wherein an index is established in which individual speech patterns are separately filed and provided with indicators to the recorded memorandums and coefficients of coincidence (scores) are stored.
 16. Method according to claims 1 to 15, wherein the index pattern is stimulated by the user by speaking individual words.
 17. Method according to claims 15 and 16, wherein the index is established offline.
 18. Method according to claims 15 to 17, wherein the offline optimisation and the index generation is carried out when the mobile phone is connected up to the power supply (network).
 19. Method according to claims 15 to 17, wherein the offline optimisation is carried out on a special high-performance computer.
 20. Method according to claims 1 to 14, wherein the search operation is performed with a time indication.
 21. Method according to claims 1 to 19, wherein other documents such as images with link to the context are recorded.
 22. Device for executing the method according to the claims 1 to 21, wherein a telecommunication transmission equipment unit such as a mobile phone/telephone (10) with a memory card (12) such as FlashROM and/or a data processing facility such as a PC, server equipped with a special additional (11) software are used.
 23. Device for executing the method according to the claim 22, wherein a special software on a computer (14) such as a PC with speech input and speech output is used.
 24. Device for executing the method according to the claim 22, wherein a telephone, by way of a network, is connected to a computer such as a PC or a special server and used accordingly. 